<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css继承性</title>
    <style>
        /* 继承性：子元素可以继承父元素的某些样式属性 */
        body{
            font-size: 30px;
            font-weight: 700;
            color: red;
        }
    </style>
</head>
<body>
    <div>
        我是div
    </div>
    <p>
        我是p
    </p>
    <span>
        我是span
    </span>
    <a href="#">我是a</a>
</body>
</html>